package com.bysj.lms.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaojiakai
 * @since 2022-04-27
 */
@Getter
@Setter
@TableName("outline_version")
@ApiModel("大纲版本模型")
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class OutlineVersion implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "版本号",required = true)
    private String number;

    @ApiModelProperty(value = "版本名",required = true)
    private String name;

    @ApiModelProperty(value = "专业编号",required = true)
    private String major;

    @ApiModelProperty("年级")
    private String grade;

    @ApiModelProperty(value = "年级集合",required = true)
    private List<Integer> grades;
}
